<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>天工科目管理</title>
    <link rel="stylesheet" href="../css/style.default.css" type="text/css" />
    <script type="text/javascript" src="../js/plugins/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.cookie.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/plugins/jquery.tagsinput.min.js"></script>
    <script type="text/javascript" src="../js/plugins/charCount.js"></script>
    <script type="text/javascript" src="../js/plugins/ui.spinner.min.js"></script>
    <script type="text/javascript" src="../js/plugins/chosen.jquery.min.js"></script>
    <script type="text/javascript" src="../js/custom/general.js"></script>
    <script type="text/javascript" src="../js/custom/forms.js"></script>

    <!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="../css/style.ie9.css"/>
    <![endif]-->
    <!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="../css/style.ie8.css"/>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
    <![endif]-->
    <script src="../js/jquery.min.js"></script>
    <script src="../js/config.js"></script>
    <script src=../js/userEvents.js ></script>
</head>

<body class="withvernav">

<div class="bodywrapper">
    <div class="topheader">
        <div class="left">
            <h1 class="logo">ZZTY.<span>TXJ</span></h1>
            <span class="slogan">天行健——健康管理系统</span>



            <br clear="all" />

        </div><!--left-->

        <div class="right">
            <div class="notification">
                <a class="count" href="ajax/notifications.html"><span>USER:</span></a>
            </div>
            <div class="userinfo">
                <img src="images/thumbs/avatar.png" alt="" />
                <span>天行健作息管理系统</span>
            </div><!--userinfo-->

            <div class="userinfodrop">
                <div class="avatar">
                    <a href=""><img src="images/thumbs/avatarbig.png" alt="" /></a>
                    <div class="changetheme">
                        Change theme: <br />
                        <a class="default"></a>
                        <a class="blueline"></a>
                        <a class="greenline"></a>
                        <a class="contrast"></a>
                        <a class="custombg"></a>
                    </div>
                </div><!--avatar-->
                <div class="userdata">
                    <h4>ZZTY--TXJ FOR MANAGER</h4>
                    <span class="email">管理员邮箱</span>
                    <ul>
                        <li><a href="#">Edit1</a></li>
                        <li><a href="#">Edit2</a></li>
                        <li><a href="#">Help</a></li>
                        <li><a href="login">注销</a></li>
                    </ul>
                </div><!--userdata-->
            </div><!--userinfodrop-->
        </div><!--right-->
    </div><!--topheader-->


    <div class="header">
        <ul class="headermenu">
            <li class="current"><a href="Tmain"><span class="icon icon-flatscreen"></span>首页</a></li>
            <li><a href="#"><span class="icon icon-pencil"></span>可拓展</a></li>
            <li><a href="#"><span class="icon icon-message"></span>可拓展</a></li>
            <li><a href="#"><span class="icon icon-chart"></span>可拓展</a></li>
        </ul>

        <div class="headerwidget">
            <div>
                <div class="one_half">
                    <iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=2&num=1"
                            width="220" height="70" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
                    </iframe>
                </div><!--one_half-->
            </div><!--earnings-->
        </div><!--headerwidget-->

    </div><!--header-->

    <div class="vernav2 iconmenu">
        <ul>
            <li><a href="Tmain" class="editor">位置坐标管理</a></li>
            <li><a href="events" class="gallery">作训科目管理</a></li>
            <li class="current"><a href="userEvents" class="elements">天工科目管理</a></li>
            <li><a href="hexiao" class="widgets">记录核销</a></li>
            <li><a href="runLimitTime" class="typo">环湖跑时间管理</a></li>
            <li><a href="ability" class="calendar">综合能力查询</a></li>
            <li><a href="toExcel" class="tables">报表</a></li>
        </ul>
        <a class="togglemenu"></a>
        <br /><br />
    </div><!--leftmenu-->



    <div class="centercontent">

        <div class="pageheader">
            <h1 class="pagetitle">天工科目管理</h1>

            <ul class="hornav">
                <li class="current"><a href="#add">添加天工科目</a></li>
                <li><a href="#show">显示天工已有科目</a></li>
            </ul>
        </div><!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">

            <div id="add" class="subcontent">



                <form class="stdform" action="" method="post">

                    <table border="1" id="t2">
                        <tr>
                            <th>班级：<select name="select" id="selectClazz"></select></th>
                            <th>姓名：<select name="select" id="selectStudent"></select></th>
                        </tr>
                    </table>

                    <h3><p >科目:</p></h3>
                    <ul id="event"></ul>
                    <p class="stdformbutton">
                        <input type="button" id="b_add" value="添加"/>
                        <input type="reset" class="reset radius2" value="Reset Button" />
                    </p>
                </form>

                <br />

            </div><!--subcontent-->

            <div id="show" class="subcontent" style="display: none">
                <div id="div_update" style="display: none">
                    <p>
                        <label>ID:</label>
                        <span class="field"><input type="text" id="text_id" disabled="true"/></span>
                        <small class="desc">(id不可更改)</small>
                    </p>
                    <p>
                        <label>姓名:</label>
                        <span class="field"><input type="text" id="text_name" disabled="true"/></span>
                        <small class="desc">(姓名不可更改)</small>
                    </p>
                    <p>
                        <label>已选科目：</label>
                        <span class="filed">
                            <ul id="events"></ul>
                        </span>
                    </p>
                    <p class="stdformbutton">
                        <input type="button" id="b_update" value="提交" />
                        <input type="button" id ="b_cencle" value="取消" />
                    </p>

                </div>
                <form id="form1" class="stdform" method="post" action="">
                    <table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="t1">
                        <colgroup>
                            <col class="con0" />
                            <col class="con1" />
                            <col class="con0" />
                        </colgroup>
                        <thead>
                        <tr>
                            <th class="head0">ID</th>
                            <th class="head1">姓名</th>
                            <th class="head0">已选科目</th>
                            <th class="head1">修改</th>
                            <th class="head0">删除</th>
                        </tr>
                        </thead>

                        <tbody>
                        </tbody>
                    </table>

                </form>

            </div><!--subcontent-->

        </div><!--contentwrapper-->

    </div><!-- centercontent -->



</div><!--bodywrapper-->

<style>
    td{
        text-align:left;
        vertical-align:top;

    }
    input[type="button"] {
        width: auto;
        margin: 0;
        font-weight: bold;
        color: #3f3f3f;
        background: #FB9337;
        border: 1px solid #F0882C;
        padding: 7px 10px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        cursor: pointer;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }
</style>
</body>
</html>
